<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,use-scalable=no,maximum-scale=1.0,minimum-scale=1.0">
    <title>黑马面面 test001</title>

    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/swiper.min.css">

    <script src="js/flexible.js"></script>
    <script src="js/swiper.min.js"></script>
</head>

<body>
    <section class="first-part">
        <!-- 头部 -->
        <header>黑马面面</header>
        <!-- 导航 -->
        <nav>
            <a href="">
                <img src="icons/icon1.png" alt="" class="nav-img">
                <span class="nav-desc">HR面试</span>
            </a>
            <a href="">
                <img src="icons/icon2.png" alt="" class="nav-img">
                <span class="nav-desc">笔试</span>
            </a>
            <a href="">
                <img src="icons/icon3.png" alt="" class="nav-img">
                <span class="nav-desc">技术面试</span>
            </a>
            <a href="">
                <img src="icons/icon4.png" alt="" class="nav-img">
                <span class="nav-desc">模拟面试</span>
            </a>
            <a href="">
                <img src="icons/icon5.png" alt="" class="nav-img">
                <span class="nav-desc">面试技巧</span>
            </a>
            <a href="">
                <img src="icons/icon6.png" alt="" class="nav-img">
                <span class="nav-desc">薪资查询</span>
            </a>
        </nav>


        <!-- 每日十练 -->
        <img src="images/go.png" alt="" class="go">
    </section>

    <section class="second-part">

        <!-- 就业指导 -->
        <section class="job">
            <div class="job-hd">
                <div class="job-hd-title">
                    <img src="icons/i2.png" alt="" class="icon">
                    <span class="job-hd-title-con">就业指导</span>
                </div>
                <a href="" class="more">更多>></a>
            </div>
            <div class="job-bd">
                <!-- Swiper -->
                <div class="swiper-container">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide">
                            <a href=""><img src="images/job1.webp" alt="" class="swiper-slide-img"></a>
                            <span class="swiper-slide-desc">老师教你应对面试技巧</span>
                        </div>
                        <div class="swiper-slide">
                            <a href=""><img src="images/job2.webp" alt="" class="swiper-slide-img"></a>
                            <span class="swiper-slide-desc">老师教你应对面试技巧</span>
                        </div>
                        <div class="swiper-slide">
                            <a href=""><img src="images/job3.webp" alt="" class="swiper-slide-img"></a>
                            <span class="swiper-slide-desc">老师教你应对面试技巧</span>
                        </div>
                    </div>
                    <div class="play-btn">
                        <a href=""></a>
                    </div>
                    <!-- Add Pagination -->
                    <!-- <div class="swiper-pagination"></div> -->
                </div>
                <div class="swiper-button-next"></div>
                <div class="swiper-button-prev"></div>
            </div>
        </section>
    </section>

    <section class="third-part">
        <!-- 充电学习 -->
        <section class="learn">
            <div class="learn-hd">
                <div class="learn-hd-title">
                    <img src="icons/i1.png" alt="" class="icon">
                    <span class="learn-hd-title-con">充电学习</span>
                </div>
                <a href="" class="more">更多>></a>
            </div>
            <div class="learn-bd">
                <!-- Swiper -->
                <div class="swiper mySwiper">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide">
                            <img src="images/pic1.png" alt="" class="learn-img">
                            <span class="learn-desc">说地道英语，告别中式英语</span>
                            <div class="learn-comments">
                                <p class="num">156</p>
                                <p class="common">人学习</p>
                            </div>
                        </div>
                        <div class="swiper-slide">
                            <img src="images/pic2.png" alt="" class="learn-img">
                            <span class="learn-desc">思维攻略金字塔思维提升写作能力</span>
                            <div class="learn-comments">
                                <p class="num">125</p>
                                <p class="common">人学习</p>
                            </div>
                        </div>
                        <div class="swiper-slide">
                            <img src="images/pic1.png" alt="" class="learn-img">
                            <span class="learn-desc">Xmind零基础学习 Xmind提升</span>
                            <div class="learn-comments">
                                <p class="num">86</p>
                                <p class="common">人学习</p>
                            </div>
                        </div>

                    </div>
                    <div class="swiper-pagination"></div>
                </div>

        </section>
    </section>

    <!-- 底部 -->
    <footer class="footer">
        <a href="#" class="item">
            <img src="./icons/home.png" alt="" />
            <p>首页</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/ms.png" alt="" />
            <p>模拟面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/net.png" alt="" />
            <p>技术面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/user.png" alt="" />
            <p>我的首页</p>
        </a>
    </footer>

    <script>
        // 箱函数/立即执行函数
        (function() {
            var swiper = new Swiper('.swiper-container', {
                slidesPerView: 2,
                spaceBetween: 30,
                centeredSlides: true,
                loop: true,
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },
                navigation: {
                    nextEl: ".swiper-button-next",
                    prevEl: ".swiper-button-prev",
                },
            });
        })();

        // 第二个函数的轮播图
        (function() {
            //  如果有多个轮播图最好修改下 swiper-container
            var swiper = new Swiper(".mySwiper", {
                // 我们可以可以看看到的是 2个半
                slidesPerView: 2.2,
                spaceBetween: 20,
            });
        })();
    </script>
</body>